for f in *hmp ; do mv $f `basename $f hmp`hmp.tmp; done 